package com.qaml.mes.device.dto.eqp;

import com.earth.page.PageRequest;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName CheckUpkeepRecordAppDTO
 * @Description 检保单请求参数
 * @Author leikai
 * @Date 2024/3/7 0007 15:19
 * @Version 1.0
 */
@Data
public class CheckUpkeepRecordAppDTO extends PageRequest {

    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    private String eqpCode;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 检保日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检保日期")
    private Date checkUpkeepDate;

    /**
     * 检保开始时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检保开始时间")
    private Date checkUpkeepStartTime;

    /**
     * 检保结束时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检保结束时间")
    private Date checkUpkeepEndTime;


}